const _import = (file) => () => import("@/views/" + file + ".vue");
import Layout from "@/layout";

/**
 * 组件名统一采用小驼峰方式
 */

export const componentMap = {
  Layout: Layout,

  DatePicker: _import("EleStrengthen/DatePicker"),
  NavMenu: _import("EleStrengthen/NavMenu"),
  Tooltip: _import("EleStrengthen/Tooltip"),
  Badge: _import("EleStrengthen/Badge"),
  Breadcrumb: _import("EleStrengthen/Breadcrumb"),
  Rate: _import("EleStrengthen/Rate"),
  Collapse: _import("EleStrengthen/Collapse"),
  Tree: _import("EleStrengthen/Tree"),
};
